package com.work.entity;

import org.springframework.stereotype.Component;

/**
 * `ID` int(11) NOT NULL AUTO_INCREMENT,
  `TEACHER_NAME` varchar(32) DEFAULT NULL,
  `TEACHER_AGE` int(11) DEFAULT NULL,
 * @author My
 *
 */

@Component
public class TeacherEntity {
	
	private Integer id;
	private String teacherName;
	private Integer teacherAge;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	public Integer getTeacherAge() {
		return teacherAge;
	}
	public void setTeacherAge(Integer teacherAge) {
		this.teacherAge = teacherAge;
	}
	
	
	

}
